import java.util.*;
public class Username
{
    public static void main (String[]args)
    { 
       
       String fName ;
       String lName ;
       String string1,number;
       int num;

       Scanner scan = new Scanner (System.in);
       Random generator = new Random();

       System.out.println ("Input your first mame:");
       fName = scan.nextLine();
       System.out.println ("Input your last mame:");
       lName = scan.nextLine();

       string1 = lName.substring(0,5);
       char string2 = fName.charAt(0);
       num = generator.nextInt(90) + 10;
       
       System.out.println("Output string:" + string2 + string1 + num);
    }
}   
